package com.kunlun.basedata.limit.service;

import com.kunlun.basedata.limit.model.po.AuthorizePo;
import com.kunlun.basedata.limit.model.po.CorrelatePo;
import com.kunlun.basedata.limit.model.vo.AuthorizeVo;
import com.kunlun.basedata.limit.model.vo.UserRelateVo;
import com.kunlun.common.model.Page;

/**
 * 岗位业务接口
 */
public interface IAuthorizeService {

    Page<AuthorizeVo> getAuthorizePage(CorrelatePo correlatePo, int currentPage, int pageSize) throws Exception;

    public void addAuthorize(AuthorizePo authorizePo) throws Exception;

    public UserRelateVo getAuthorizeByUser(String tenantId, String appId, String userId) throws Exception;
}
